Skip to content

feat: PostToolUse hook is fail-closed validate, not curate (0.7.2) - #60

Merged
RichardHightower merged 1 commit into
mainfrom
feat/hook-validate-not-curate
Aug 17, 2026
Merged

feat: PostToolUse hook is fail-closed validate, not curate (0.7.2)#60
RichardHightower merged 1 commit into
mainfrom
feat/hook-validate-not-curate

Conversation

@RichardHightower

Copy link
Copy Markdown
Contributor

Why

#55 close bar: core validates after Write. This pack still invoked okf-curate.sh. The script body was already fail-closed validate (0.7.1). The name and wiring still said curate.

What

  • hooks/hooks.json runs scripts/okf-hook-validate.sh
  • This pack validates. It does not curate (no catalog rewrite after Write)
  • okf-curate.sh stays as an exec shim
  • Codex .codex-plugin/plugin.json still points at hooks/hooks.json
  • Host close-criteria tests: Deep Agents skills/ layout + Codex hook resolve
  • Version 0.7.2

Not this PR

Live create_deep_agent(skills=…) and live codex plugin install are not run here (no those CLIs). Packaging contracts are tested. #55 stays open.

Implements the hook close-bar on okf-plugin#55.

hooks.json runs okf-hook-validate.sh. This pack validates. It does not
curate. okf-curate.sh stays as an exec shim.
@RichardHightower
RichardHightower merged commit d68b87f into main Aug 17, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant